package com.smart.service;

import java.sql.SQLException;
import java.util.List;

import com.smart.dao.DeliveryDAO;
import com.smart.model.Delivery;

public class DeliveryService {
	static DeliveryDAO deliveryDAO = null;
	
	static {
		deliveryDAO = new DeliveryDAO();
	}
	
	public List<Delivery> getDeliveryList(String phone, int status, int page, int pageSize) throws SQLException{
		return deliveryDAO.getDeliveryList(phone, status, page, pageSize);
	}
}
